cmake_minimum_required(VERSION 3.0)

project(signal_websocket_server)

include_directories(/usr/local/include/)
include_directories(./../../)
include_directories(./../../../)

link_directories(/usr/local/lib)
link_directories(/usr/local/lib64)

set(SRC_LIST ./)

aux_source_directory(./ SRC_LIST)
aux_source_directory(./logic SRC_LIST)
aux_source_directory(./protocol SRC_LIST)

aux_source_directory(./config SRC_LIST)
aux_source_directory(./data   SRC_LIST)
aux_source_directory(./../../util/ SRC_LIST)

message(${SRC_LIST})

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} uWS ssl crypto z)
